package com.hp.service;

import com.github.pagehelper.PageInfo;
import com.hp.bean.Customer;

import java.util.List;

public interface CustomerService {
    PageInfo<Customer> selectfind(Integer page, Integer limit);
    //添加
    int add(Customer customer);
    //修改
    int upp(Customer customer);
    //回显
    Customer findById(Integer id);
    //删除
    int del(Integer id);


    //会员登陆添加
    List<Customer> login(String phone);
    int insert(Customer customer);

    List<Customer> getList(Integer id);
}
